home *** CD-ROM | disk | FTP | other *** search
- Path: skivs.ski.org!usenet
- From: gt@ns.oon.or.jp (Gemini Thunder)
- Newsgroups: comp.lang.c
- Subject: Re: Storing C Functions In An Array?
- Date: Fri, 05 Apr 1996 07:59:51 GMT
- Organization: Smith-Kettlewell Eye Research Institute
- Message-ID: <4k2jve$ejc@skivs.ski.org>
- References: <4jc1u7$5e9@infa.central.susx.ac.uk> <4jerhn$sc8@oege.htsa.hva.nl> <4jj5d0$me8@news.xs4all.nl> <4k12qc$epc@oege.htsa.hva.nl>
- NNTP-Posting-Host: oonserv.oon.or.jp
- X-Newsreader: Forte Free Agent 1.0.82
-
- ferdinan@htsa.htsa.hva.nl (Ferdinand de Boevere) wrote:
-
- >In article <4jj5d0$me8@news.xs4all.nl>, Falstaff <falstaff@xs4all.nl> wrote:
- >>ferdinan@htsa.htsa.hva.nl (Ferdinand de Boevere) writes:
-
- >>I remember one entry in an early Obfuscated C Programming Contest.
- >>It declared main something like this:
-
- >>int main[]=
- >>{ 5236,736,8,-547,'f',
-
- >>and it actually ran on PDPs and VAXen. So it *can* be done :-)
-
- >No, it can't be done !
- >This was probably nothing but declaring an array called main
- >inside another function (e.g. main).
-
- >Ferdinand
-
- FWIW, the program in question is mullender.c, the 1984 winning entry,
- It is machine dependent code (for the vax-11 or pdp-11 as was stated).
- You can get all the back entries for the ObC contest somewhere online,
- but I forget where.
-
-
-